package com.zpark.pojo;

import lombok.*;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Table(name = "user")
@ToString
@EqualsAndHashCode
public class User {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer uid;
    private String username;
    private String userpwd;
    private Integer usertype;
    private Date usertime;
    private String dbName;
    private String usersex;
}
